home *** CD-ROM | disk | FTP | other *** search
- #include <SQLite.au3>
- #include <SQLite.dll.au3>
-
- _SQLite_Startup()
- _SQLite_Open()
- _SQLite_Exec(-1,"CREATE TABLE test (a, b);") ; Create Table
- _SQLite_Exec(-1,"INSERT INTO test VALUES ('1', '2');") ; Insert Row 1
- _SQLite_Exec(-1,"INSERT INTO test VALUES ('3', '4');") ; Insert Row 2
- MsgBox(0,"SQLite","The Last Query changed " & _SQLite_Changes() & " Rows" & @CR & _
- "All Query changed " & _SQLite_TotalChanges() & " Rows")
- _SQLite_Close()
- _SQLite_Shutdown()
-